public class maopao {
	public static void main(String[] args) {
		int a[]={52,26,97,19,66,8,49};
		int i,j;
		for(i=0;i<a.length;i++){
			for(j=1;j<a.length;j++){
				if(a[i]>a[j]){
					int b=a[i];
					a[i]=a[j];
					a[j]=b;
				}
			} 
			for(i=0;i<a.length;i++){
	    	System.out.println(a[i]);}
	   
		}
	}
		
}